package com.ydd.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)  //下划线驼峰命名转换
public class SysUserRowInfoVO {
    private String id;
    private String loginName;
    private String password;
    private String name;
    private String email;
    private String phone;
    private String loginIp;
    private LocalDateTime loginDate;
    private LocalDateTime createDate;
    private LocalDateTime updateDate;
    private String delFlag;

    @JsonProperty("roleId")
    private String roleId;

    private Integer status;
    private String defaultData;

    @JsonProperty("role_id")
    private String[] sysRoleId;
}
